﻿using ControlHelper.Attributes;
using Creator.Core.Base;
using Newtonsoft.Json;
using System.Collections;

namespace Creator.Core.Component
{
    [ComponentMenu("数据/数据集合")]
    public class DataListComponent : LogicComponet
    {
        public DataListComponent(BaseObject baseObject) : base(baseObject)
        {

        }
     
        [Hide]
        [JsonIgnore]
        public IList Data { get; set; }

        public override string Name => "数据组件";


        public override string ToString()
        {
            return BaseObject.Name + "_" + Name;
        }
    }
}
